import ReactDom from "react-dom";

const Confirm = (props) => {
    return (
        <div style={{ width: '200px', height: '200px', backgroundColor: 'blue', zIndex: 999 }}>
            <div>{props.confitmText ? props.confitmText : 提示}</div>
            <button>{props.confirmOkText ? props.confirmOkText : "确认"}</button>
            <button onClick={props.canceldeleteHander}>{props.confirmCancelText ? props.confirmCancelText : "取消"}</button>
        </div>
    )
}
export default Confirm;